package com.atguigu.jxc.service;

import com.atguigu.jxc.entity.*;

import java.util.List;

/**
 * @author huangxin
 * @description
 * @date 2020/12/3
 */
public interface StockService {
    void saveDamageListAndGoods(User user, DamageList damageList, String damageListGoodsStr);

    void saveOverflowListAndGoods(User user, OverflowList overflowList, String overflowListGoodsStr);

    List<Goods> getAllOutOfStockGoods();

    List<DamageList> getDamageListByTime(String sTime, String eTime);

    List<DamageListGoods> getDamageListGoodsById(Integer damageListId);

    List<OverflowList> getOverflowListByTime(String sTime, String eTime);

    List<OverflowListGoods> getOverflowListGoodsById(Integer overflowListId);
}
